package cn.itsource.itsource.domain;


import java.util.List;

public class Wxuser {

  private Long id;
  private String openid;
  private String nickname;
  private Long sex;
  private String address;
  private String headimgurl;
  private String unionid;
  private Long userId;
  //private List<String> privilege;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getOpenid() {
    return openid;
  }

  public void setOpenid(String openid) {
    this.openid = openid;
  }

  public String getNickname() {
    return nickname;
  }

  public void setNickname(String nickname) {
    this.nickname = nickname;
  }

  public Long getSex() {
    return sex;
  }

  public void setSex(Long sex) {
    this.sex = sex;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public String getHeadimgurl() {
    return headimgurl;
  }

  public void setHeadimgurl(String headimgurl) {
    this.headimgurl = headimgurl;
  }

  public String getUnionid() {
    return unionid;
  }

  public void setUnionid(String unionid) {
    this.unionid = unionid;
  }

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  @Override
  public String toString() {
    return "Wxuser{" +
            "id=" + id +
            ", openid='" + openid + '\'' +
            ", nickname='" + nickname + '\'' +
            ", sex=" + sex +
            ", address='" + address + '\'' +
            ", headimgurl='" + headimgurl + '\'' +
            ", unionid='" + unionid + '\'' +
            ", userId=" + userId +
            '}';
  }
}
